package com.lw.common.core.dao;

import java.io.Serializable;

public interface BaseDAO<M, ID extends Serializable> {

	public int deleteByPrimaryKey(ID id);

	public int insert(M record);

	public int insertSelective(M record);

	public M selectByPrimaryKey(ID id);

	public int updateByPrimaryKeySelective(M record);

	public int updateByPrimaryKey(M record);
}
